﻿using FaceWebServer.DB.TimeGroup;
using FaceWebServer.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FaceWebServer.Interface
{
    /// <summary>
    /// 开门时段
    /// </summary>
    public interface ITimeGroupService : IBaseService
    {
        /// <summary>
        /// 初始化开门时段数据库
        /// </summary>
        void IniTimeGroupDB();


        /// <summary>
        /// 获取所有开门时段
        /// </summary>
        /// <returns></returns>
        List<TimeGroupDetail> GetAll();


        /// <summary>
        /// 更新开门时段
        /// </summary>
        /// <param name="detail"></param>
        void UpdateTimeGroup(TimeGroupDetail detail);
    }
}
